package com.example.springboot.dto;

import lombok.Data;
import java.time.LocalDate;
import java.util.List;

@Data
public class CreativeDTO {
    //创意id
    private Integer id;
    //用户信息
    private UserDTO userDTO;
    private String email;

    private String name;
    private String detail;
    private List<String> feature;
    private String communityPic;
    private String type;
    private Integer view;
    private LocalDate createTime;
    private String relativeTime;
    private Integer comments;
    private Integer collections;

    private boolean isMine; //是否为自己的创意
    private boolean isFollowed;
    private boolean isCollected;
}
